﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.ComponentModel.DataAnnotations;

namespace B10.Models.Validation
{
    [Bind(Include="Title,Body")]
    public class ForumPostValidation
    {
        [StringLength(256)]
        [Required]
        [LocalizedDisplayName("Title")]
        public object Title { get; set; }

        [StringLength(4000)]
        [Required]
        [LocalizedDisplayName("Body")]
        public object Body { get; set; }

        [LocalizedDisplayName("CreateDate")]
        public object Date { get; set; }
    }
}
